package pro.wxls.controller;

import lombok.AllArgsConstructor;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import pro.wxls.video.feigna.IVideoProvider;

@RestController
@AllArgsConstructor
public class IndexController {

    private final IVideoProvider videoProvider;

    @GetMapping("/")
    public String index() {
        return videoProvider.getVideoList();
    }

}
